import { Module } from '@nestjs/common';
import { CommentService } from './comment.service';
import { CommentController } from './comment.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CommentSinger } from '../../entities/comment.entity';
import { Singer } from '../../entities/singer.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([CommentSinger, Singer]), // 在 TypeOrmModule.forFeature 中添加 Singer 实体
    // 其他导入的模块
  ],
  controllers: [CommentController],
  providers: [CommentService],
})
export class CommentModule {}
